package dao;

import pojo.AppointmentRule;
import java.util.List;

public interface AppointmentRuleDao {
    // 新增规则
    int insert(AppointmentRule rule);
    // 修改规则
    int update(AppointmentRule rule);
    // 删除规则
    int delete(Integer ruleId);
    // 查询单个规则
    AppointmentRule selectById(Integer ruleId);
    // 查询所有规则
    List<AppointmentRule> selectAll();
    // 根据规则名称查询
    List<AppointmentRule> selectByRuleName(String ruleName);
} 